//
//  QueryCityListOperation.m
//  PlayBall
//
//  Created by Edward Zhang on 12-5-27.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import "JddQueryCityListOperation.h"

@implementation JddQueryCityListOperation

@synthesize province;

- (void)main{
    JddNetDataCommunication *netDataCommunication = [[JddNetDataCommunication alloc] init];
    
    NSString *bodyString = [JddParameterBuilder queryCityListParameterOfProvince:province];
    
    NSData *dataCity = [netDataCommunication requestDataByPostBodyData:[bodyString dataUsingEncoding:NSUTF8StringEncoding]];    [((NSObject*)self.delegate) performSelectorOnMainThread:@selector(QueryCityListOperationResult:) withObject:dataCity waitUntilDone:NO];        
}

@end
